package com.nineclock.system.service;


import com.nineclock.common.entity.PageResult;
import com.nineclock.system.dto.SysAllowedJoinCompanyUserDTO;
import com.nineclock.system.dto.SysCompanyUserDTO;
import com.nineclock.system.easyescel.ExcelMember;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface SysCompanyUserService {
    SysCompanyUserDTO getCurrentAdmin();
    List<SysCompanyUserDTO> queryCompanyMemberList();
    void allowedJoinCompany(SysAllowedJoinCompanyUserDTO sysAllowedJoinCompanyUserDTO);
    PageResult<SysCompanyUserDTO> members(Integer page, Integer pageSize, String keyword, Long departmentId);
    void uploadExcel(MultipartFile excelFile) throws IOException;
    void importData(List<ExcelMember> data);
    Integer queryUserCountByDepartmentIds(List<Long> departmentIds);
}
